<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.SYS" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.SYS" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="MessageSend">
    <xs:sequence>
      <xs:element minOccurs="0" name="ApprovePathId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="CreatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="CreatedWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="FromEmpId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="FromSendId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="MessageStatus" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RecordStatus" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RefId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="RefNo" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RefType" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Remarks" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="SendDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="SendId" type="xs:int" />
      <xs:element minOccurs="0" name="SendText" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ToEmpId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="UpdatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="UpdatedWhen" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="MessageSend" nillable="true" type="tns:MessageSend" />
  <xs:complexType name="ArrayOfMessageSend">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="MessageSend" nillable="true" type="tns:MessageSend" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfMessageSend" nillable="true" type="tns:ArrayOfMessageSend" />
</xs:schema>